package org.jeecg.modules.zhima.portal.weixin;

import org.jeecg.modules.zhima.pay.core.annotation.PayManagerComponent;
import org.jeecg.modules.zhima.pay.core.common.AbstractPayAdaptor;
import org.jeecg.modules.zhima.pay.core.common.AbstractPayManager;
import org.springframework.beans.factory.annotation.Autowired;

@PayManagerComponent
public class TradeManager extends AbstractPayManager {

    @Autowired
    private TradeService tradeService;

    @Override
    public String getTradeType() {
        return "JSAPI";
    }

    @Override
    public AbstractPayAdaptor getPayAdaptor() {
        return tradeService;
    }
}
